using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace WPCoco.Helpers
{
    public static class GeometryHelper
    {
        public static float EuclideanDistance(Vector2 a, Vector2 b) 
        {
            return (a - b).Length();
        }

        public static float AngleInDegrees(Vector2 a, Vector2 b) 
        {
            a = b - a;
            return MathHelper.ToDegrees((float)Math.Atan2(a.Y, a.X));
        }
    }
}
